@echo off

chcp 936

set fix=%~n0

if "%time:~0,2%" lss "10" (set hh=0%time:~1,1%) else (set hh=%time:~0,2%)

set CURRENT_DATE_TIME=%fix%%date:~2,2%%date:~5,2%%date:~8,2%%hh%%time:~3,2%%time:~6,2%
echo %CURRENT_DATE_TIME%

git tag -a %CURRENT_DATE_TIME% -m "auto tag"

git push origin --tags

rem 等待任意键退出
echo [press any key to exit]

pause>nul

exit